<?php
namespace app\xapply\model;

use think\Model;
use app\xapply\model\App;

class Category extends Model
{
    protected $name = 'xapply_category';

    public function apps()
    {
        return $this->hasMany(App::class, 'category_id', 'id');
    }
}
